@layout("/backend/common/_container.html"){
<div class="dhcc-form">
    <form method='post' id="cdcDictypeInfoForm" name="cdcDictypeInfoForm" enctype="multipart/form-data">
	
        <#Hidden id="id" value="${cdcDictype.id}"/>

		<#Input id="code" name="代码" value="${cdcDictype.code}"/>
		<#Input id="description" name="描述" value="${cdcDictype.description}"/>
        <#SelectForm id="dataId" name="业务数据类型" url="/cdc/cdcdata/query" key="id" text="description" hasEmpty="false" width="500px" value="${cdcDictype.dataId}"/>
		<#SwitchBox id="isActive" name="是否有效" value="${cdcDictype.isActive}"/>
        <div class="toolbar">
        	<#Button name="保存" id="ensure" icon="icon-w-save" clickFun="CdcDictypeInfoDlg.editSubmit()"/>
        	<#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="CdcDictypeInfoDlg.close()"/>
        </div>
    </form>
</div>
<script src="${ctxPath}/static/backend/cdc/cdcdictype/cdcdictype_info.js"></script>
@}
